package com.mlz.mlzmall.ui.activity.act.personal.userLogin;

import com.mlz.mlzmall.ui.utils.DataUtils;

/**
 * Created by jack.wang on 2015/11/30.
 */
// 发post请求参数，注册
public class PostRegist {
    // 电话号码
    private String telephone;
    //设置的密码
    private String password;
    //设置的确认密码
    private String confirmPassword;
    // 手机短息验证码
    private String smsCode;
    /*
      设置性别  0 或 1
     */
    private int gender;

    public String getTelephone() {
        return DataUtils.getString(telephone);
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public int getGender() {
        return DataUtils.getInt(gender);
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getSmsCode() {
        return DataUtils.getString(smsCode);
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public String getConfirmPassword() {
        return DataUtils.getString(confirmPassword);
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }

    public String getPassword() {
        return DataUtils.getString(password);
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "PostRegist{" +
                "telephone='" + telephone + '\'' +
                ", password='" + password + '\'' +
                ", confirmPassword='" + confirmPassword + '\'' +
                ", smsCode='" + smsCode + '\'' +
                ", gender=" + gender +
                '}';
    }
}
